import main from '@/view/main'

export default {
    path: '/teacherManage',
    component: main,
    meta: {
        title: '教师管理'
    },
    children: [
        {
            meta: {
                title: '教师管理'
            },
            path: '',
            name: 'teaManageList',
            component: () => import('./tea-list')
        },
        {
            path: 'add',
            name: 'teaManageAdd',
            meta: {
                title: '新建教师'
            },
            component: () => import('./tea-add')
        },
        {
            path: 'edit/:id',
            name: 'teaManageEdit',
            props: true,
            meta: {
                title: '修改教师'
            },
            component: () => import('./tea-edit')
        }
    ]
}
